package com.ynny.usermanager.dao;

import com.ynny.usermanager.entity.User;

import java.util.List;

public interface UserDao {

    User selectUserById(Integer id);

    List<User> selectAllUsers();

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(Integer id);

    User selectUserByUserName(String username);
}